package zq.cn.utils;

import android.app.Activity;

import java.util.List;
import java.util.Map;

/**
 * Created by ZQ on 2016/4/15.
 */
public class Globals {
    public static Sqlite sql;
    public static List<Map<String, Object>> values;
    public static int SCREEN_WIDTH;
    public static int SCREEN_HEIGHT;

    public static void init(Activity activity) {
        sql = new Sqlite(activity);

        SCREEN_WIDTH = activity.getWindowManager().getDefaultDisplay().getWidth();
        SCREEN_HEIGHT = activity.getWindowManager().getDefaultDisplay().getHeight();
    }
}
